package models

type SysIndexCategoryConfig struct {
	Model
	Name      string `json:"name" gorm:"type:varchar(30);comment:分类名称"`
	NameCode  string `json:"name_code" gorm:"type:varchar(10);comment:分类名称编码"`
	PageLimit int    `json:"page_limit" gorm:"tinyint(1);comment:该分类首页展示数据条数"`
	Sort      int    `json:"sort" gorm:"smallint(2);comment:排序"`
	IsShow    int    `json:"is_show" gorm:"tinyint(1);default:1;comment:是否展示 -1-不展示 1-展示"`
	ControlBy
	ModelTime
}

func (SysIndexCategoryConfig) TableName() string {
	return "sys_index_category_config"
}
